package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.MedicineInfo;

/**
 * meidicineInfoMapper接口
 * 
 * @author ruoyi
 * @date 2024-12-17
 */
public interface MedicineInfoMapper 
{
    /**
     * 查询meidicineInfo
     * 
     * @param id meidicineInfo主键
     * @return meidicineInfo
     */
    public MedicineInfo selectMedicineInfoById(Long id);

    /**
     * 查询meidicineInfo列表
     * 
     * @param medicineInfo meidicineInfo
     * @return meidicineInfo集合
     */
    public List<MedicineInfo> selectMedicineInfoList(MedicineInfo medicineInfo);

    /**
     * 新增meidicineInfo
     * 
     * @param medicineInfo meidicineInfo
     * @return 结果
     */
    public int insertMedicineInfo(MedicineInfo medicineInfo);

    /**
     * 修改meidicineInfo
     * 
     * @param medicineInfo meidicineInfo
     * @return 结果
     */
    public int updateMedicineInfo(MedicineInfo medicineInfo);

    /**
     * 删除meidicineInfo
     * 
     * @param id meidicineInfo主键
     * @return 结果
     */
    public int deleteMedicineInfoById(Long id);

    /**
     * 批量删除meidicineInfo
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMedicineInfoByIds(Long[] ids);


    public List<MedicineInfo> selectMedicineInfoByIds(Long[] ids);
}
